package com.hd.core;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 启动程序
 * 
 * @author RichardTang
 */
@EnableAsync
@EnableCaching
@EnableTransactionManagement
@MapperScan({"com.hd.core.project.**.mapper"})
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class HDCoreApplication
{
    public static void main(String[] args){
        SpringApplication.run(HDCoreApplication.class, args);
    }
}